package org.ddd.orderdemo.shared.event.spring.listener;

import org.ddd.orderdemo.shared.event.spring.BizEvent;
import org.springframework.context.ApplicationListener;

public class BizEventListener implements ApplicationListener<BizEvent> {

    @Override
    public void onApplicationEvent(BizEvent event) {
        System.out.println("收到事件:" + event);
    }

}
